package com.taobao.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import com.taobao.spring.aop.TargetObject;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String[] locations = {"resource/applicationContext.xml"};
		ApplicationContext context = new FileSystemXmlApplicationContext(locations);
		TestClass testClass = (TestClass) context.getBean("testClass");
		System.out.println(testClass);
	}

}
